package com.example.mobileeducationstudentv;

import java.io.*;

public class FileFiltering implements FileFilter{

	  private final String[] okFileExtensions = new String[] {"html"};

	  public boolean accept(File file)
	  {
	    for (String extension : okFileExtensions)
	    {
	      if (file.getName().toLowerCase().endsWith(extension))
	      {
	        return true;
	      }
	    }
	    return false;
	  }
	}

